package com.icloud.wallet.boot.dto;


import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel("查询红包参数")
@Data
public class QueryRedPacketDto {
    @ApiModelProperty(value = "客户id", required = true)
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long customerId;
    @ApiModelProperty(value = "年份", required = true)
    @NotEmpty(message = ValidateConstant.NOT_EMPTY)
    private String year;
    @ApiModelProperty(value = "收发类型:SEND,RECEIVE", required = true)
    @NotEmpty(message = ValidateConstant.NOT_EMPTY)
    private String transport;
}
